package org.jeecg.modules.building.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.common.baseentity.BaseTenant;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: fac_building
 * @author: baochangrong
 * @Date:   2022-02-10
 * @Version: V1.0
 */
@Data
@TableName("fac_building")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="fac_building对象", description="fac_building")
public class FacBuilding extends BaseTenant implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**编号*/
	@Excel(name = "编号", width = 15)
    @ApiModelProperty(value = "编号")
    private String buildingCode;
	/**建筑名称*/
	@Excel(name = "建筑名称", width = 15)
    @ApiModelProperty(value = "建筑名称")
    private String buildingName;
	/**楼层数量*/
	@Excel(name = "楼层数量", width = 15)
    @ApiModelProperty(value = "楼层数量")
    private Integer buildingFloorCount;
	/**教室数量*/
	@Excel(name = "教室数量", width = 15)
    @ApiModelProperty(value = "教室数量")
    private Integer buildingClassroomCapatity;
	/**描述*/
	@Excel(name = "描述", width = 15)
    @ApiModelProperty(value = "描述")
    private String buildingIntroduce;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**是否可用*/
	@Excel(name = "是否可用", width = 15)
    @ApiModelProperty(value = "是否可用")
    @Dict(dicCode = "is_open_type")
    private Integer buildingIzOpen=1;

}
